// 从pinia中导入defineStore定义
import {defineStore} from 'pinia'
import {ref} from 'vue'
export const userStore=defineStore("user",()=>{
	// 定义状态变量
	let count=ref(0)
	function increment(){
		count.value++
		
	}
	return{
		count,increment
	}
})
